| GET | /api/tbi/Projects/{ID} |
|---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports DO.API.TBI.API.DTO
Namespace Global
Namespace DO.API.TBI.API.DTO
'''<Summary>
'''Get project details
'''</Summary>
<Api(Description:="Get project details")>
Public Partial Class GetProjectDetailsTBI
'''<Summary>
'''ID or GlobalID
'''</Summary>
<ApiMember(Description:="ID or GlobalID", IsRequired:=true)>
Public Overridable Property ID As String
End Class
Public Partial Class ProjectDetailsTBI
Public Sub New()
Velden = New List(Of Veld)
End Sub
Public Overridable Property Velden As List(Of Veld)
End Class
Public Partial Class Veld
Public Overridable Property Name As String
Public Overridable Property Type As String
Public Overridable Property Value As Object
Public Overridable Property Description As String
Public Overridable Property GlobalID As Nullable(Of Guid)
End Class
End Namespace
End Namespace
VB.NET GetProjectDetailsTBI DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/tbi/Projects/{ID} HTTP/1.1
Host: kpm_digiofficeapigateway.tbi.nl
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"Velden":[{"Name":"String","Type":"String","Value":{},"Description":"String","GlobalID":"00000000-0000-0000-0000-000000000000"}]}